package com.indusfo.spc.service;

import com.indusfo.spc.pojo.BasisList;
import com.indusfo.spc.vo.JSONObject;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @ProjectName: IEIS2-COM
 * @Package: com.indusfo.spc.service
 * @ClassName: BasisListService
 * @Author: 熊冰
 * @Description: 工艺文件库 业务层接口
 * @Date: 2019/8/26 14:50
 * @Version: 1.0
 */
public interface BasisListService {
    //查询
    JSONObject listBasisList(BasisList basisList);
//    新增
    JSONObject insertOrUpdateBasisList(BasisList basisList);
    // 删除
    JSONObject deleteBasisList(Long[] deteBasisList, Integer lDataState);
    //文件上传
    JSONObject insertFile(MultipartFile file);
    //批量新增
    JSONObject batchInsertBasisList(List<BasisList> basisLists);
    //文件导入
	JSONObject leadFile(MultipartFile file);
    //批量文件导入
    JSONObject batchLeadFile(MultipartFile file,boolean way);
}
